package messages;

import java.security.PublicKey;

public class LoginResponseMessage extends Message {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1776232279063363166L;
	private final PublicKey serverPubKey;

	public LoginResponseMessage(String sender, long sessionID, PublicKey key) {
		super(sender, sessionID);
		this.serverPubKey = key;
	}

	public PublicKey getServerPublicKey() {
		return serverPubKey;
	}
}